// pages/home.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
      name:"coolsnail",
      age:"21",
      students:[
        {name:"hhh",age:"21"},
        {name:"22",age:"21"},
        {name:"11",age:"21"},
      ],
      counter:0
  },
  handleAddBtnClick(){ 
    this.setData({
      counter:this.data.counter + 1
    })
  },
  handleDeleteBtnClick(){ 
    this.setData({
      counter:this.data.counter - 1
    })
  }, 
  onLoad: function (){

  },
   
})